Log in Register Dashboard Temp Share Shortlinks Frames API

cody - HTMLify profile

cody's Profile Picture

cody

4270 Files

633450 Views

Latest files of /cody/swapnilsparsh/30DaysOfJavaScript/164 - Bomb Throw Game

preview.mp4 cody/swapnilsparsh/30DaysOfJavaScript/164 - Bomb Throw Game/preview.mp4
91 Views
0 Comments
Media file
style.css cody/swapnilsparsh/30DaysOfJavaScript/164 - Bomb Throw Game/style.css
95 Views
0 Comments
*, *:after, *:before {
box-sizing: border-box;
}

body {
margin: 0;
}

index.html cody/swapnilsparsh/30DaysOfJavaScript/164 - Bomb Throw Game/index.html
274 Views
0 Comments
<!DOCTYPE html>
<html lang="en" >
<head>
<meta charset="UTF-8">
<title>Bomb Throw</title>
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/meyer-reset/2.0/reset.min.css">
<link rel="stylesheet" href="./style.css">

readme.md cody/swapnilsparsh/30DaysOfJavaScript/164 - Bomb Throw Game/readme.md
205 Views
0 Comments
# Bomb Throw Game

You have 10 Second to Align the distance and the angle and it will automatically throw the bomb

https://user-images.githubusercontent.com/72241207/168483279-a084753d-d8f7-47c1-a72c-48665d11e850.mp4


script.js cody/swapnilsparsh/30DaysOfJavaScript/164 - Bomb Throw Game/script.js
157 Views
0 Comments
/*
@ cm = computer player
@ us = User Player
@ Cannon = can
*/
let userCanX = 185;
let userCanY = 0;
let fireTime = 13000;